#ifndef DEBUGLOGGER_H_
#define DEBUGLOGGER_H_

#include <iostream>
#include <fstream>
#include <time.h>

class DebugLogger{
public:
	DebugLogger(std::string file_name);
	void infoMsg(std::string _msg);
	void alertMsg(std::string _msg);
	void errorMsg(std::string _msg);
	void disable(int _flags);
	void enable(int _flags);
	static const int info;
	static const int error;
	static const int alert;
private:
	std::ofstream fout;
	time_t tstamp;
	int flag_enable;
};



#endif /*DEBUGLOGGER_H_*/
